package com.qidianit.mes.pro.mapper;

import com.qidianit.mes.pojo.pro.Process;
import org.apache.ibatis.annotations.Param;

import java.util.ArrayList;


public interface ProcessMapper {
    ArrayList<Process> selectAll(Process process);
    int insertProcess(Process process);
    Process selectByCode(String processCode);
    int updateById(Process process);
    int deleteById(Long id);
    int batchDelete(@Param("ids")Long[] ids);

    Process selectById(Long id);
    Process selectByProcessCode(String  processCode);

    ArrayList<Process> selectByIds(@Param("ids") Long[] ids);

}
